package model

import "encoding/json"

type User struct {
	Id       uint64          `json:"id" gorm:"type:bigint(20);column:id;primary_key"`
	Username string          `json:"username" gorm:"type:varchar(128);column:username"`
	Password string          `json:"password" gorm:"type:varchar(128);column:password"`
	Describe string          `json:"describe" gorm:"type:varchar(255);column:describe"`
	Meta     json.RawMessage `json:"meta" gorm:"type:json;column:meta"`
	Deleted  int8            `json:"deleted" gorm:"type:tinyint(1);column:deleted"`
}
